package page.app.wallet;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.ui.ExpectedConditions;

import basicTool.WaitTool;
import io.appium.java_client.AppiumDriver;
import page.app.AbstractAppPage;

public class BriefToDetailPage extends AbstractAppPage {
	@FindBy(xpath ="//UIAStaticText[contains(@name,'详情')]|//android.widget.TextView[contains(@text,'详情')]")
	private WebElement detailPage;
	@FindBy(xpath ="//UIAStaticText[@name='交易编号']")
	private WebElement tradeNo;
	
	public BriefToDetailPage(AppiumDriver appiumDriver) {
        super(appiumDriver);
        WaitTool.waitFor(appiumDriver, ExpectedConditions.visibilityOf(tradeNo), DefaultWaitElementTime4Page);

}
}